package org.example.erpapicommon.model;

import java.util.ArrayList;
import java.util.List;

public class Product extends TProduct{
    private Integer unitsTotal;
    private String photo;
    private List<SimpleSupplier> suppliers=new ArrayList<>();
    private List<SimpleCategory> category=new ArrayList<>();

    public List<SimpleCategory> getCategory() {
        return category;
    }

    public void setCategory(List<SimpleCategory> category) {
        this.category = category;
    }

    public Integer getUnitsTotal() {
        return unitsTotal;
    }

    public void setUnitsTotal(Integer unitsTotal) {
        this.unitsTotal = unitsTotal;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public List<SimpleSupplier> getSuppliers() {
        return suppliers;
    }

    public void setSuppliers(List<SimpleSupplier> suppliers) {
        this.suppliers = suppliers;
    }
}
